package CustomerRmi;
import POJO.*;
import java.rmi.Remote;
import java.rmi.RemoteException;

public interface RmiInterface extends Remote{
	public void insertCustomer(RegisterPOJO registerPOJO) throws RemoteException;
	public SignInStatePOJO findCustomer(SignInPOJO signInPOJO) throws RemoteException;
	public CategoryPOJO findCategory(int i) throws RemoteException;
	public BookListPOJO findBookList(int i) throws RemoteException;
	public BookListPOJO findBookList(SearchRulePOJO searchRulePOJO) throws RemoteException;
	public PricePOJO findPrice(OrderPOJO orderPOJO) throws RemoteException;
	public PromotionInfoPOJO findPromotionInfo() throws RemoteException;
	public void insertOrder(OrderPOJO orderPOJO) throws RemoteException;
	public void updateCustomerPromotionInfo(CustomerPromotionInfoPOJO customerPromotionInfoPOJO) throws RemoteException;
	public void updateSaleRecord(SaleRecordPOJO saleRecordPOJO) throws RemoteException;
	public CollectionPOJO findCollection(String s) throws RemoteException;
	public void updateCollection(CollectionPOJO collectionPOJO) throws RemoteException;
	public SaleRecordPOJO findSaleRecord(String s) throws RemoteException;
	public OrderListPOJO findOrder(String s) throws RemoteException;

}
